home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 1 / PC Actual CD 01.iso / share / dos / graficos / plydat14.arj / TEAPOT.PI < prev    next >
Encoding:
Text File  |  1992-04-05  |  760 b   |  40 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <0, 5, -5>
  7.    at   <0, 0,  0>
  8.    up   <0, 1,  0>
  9.    angle 30
  10.    resolution 256, 256
  11.    }
  12.  
  13. // Get various surface finishes
  14. include "colors.inc"
  15.  
  16. // Set up background color & lights
  17. background black
  18. light <10, 10, -20>
  19.  
  20. // Simple color map texture
  21. define dented_red
  22. texture {
  23.    noise surface {
  24.       color <1, 0.2, 0.2>
  25.       normal 1
  26.       frequency 2
  27.       bump_scale 3
  28.       ambient 0.2
  29.       diffuse 0.5
  30.       specular 0.7
  31.       microfacet Reitz 10
  32.       }
  33.    scale <0.2, 0.2, 0.2>
  34.    }
  35.  
  36. // Get the definition of a teapot
  37. include "teapot.inc"
  38.  
  39. teapot { rotate <0, 20, 0> scale <0.4, 0.4, 0.4> shiny_red }
  40.